package com.springsecurity.data.repositories;

import com.springsecurity.data.domains.AttributeType;
import java.util.List;
import org.springframework.data.repository.CrudRepository;

/**
 *
 * @author Evgeny Obednin
 */
public interface AttributeTypeRepository extends CrudRepository<AttributeType, 
        Integer> {
    
    public List<AttributeType> findByName(String name);
    
    public List<AttributeType> findByNameLike(String name);
    
}
